//Create object of Sorter class to sort the array.
public class SortArrayTest {

	/**
	 * @param args
	 */
	
	public static void main(String[] args) {
		
		int[] NumberArray = {45,67,32,89,32,5,78,52,98,3,89,5,89,5,67,5,23};
		
		System.out.println("Original Array");
		for(int i = 0; i< NumberArray.length; i++)
        	System.out.print (NumberArray[i]+ "  ");
		System.out.println("");
		
		//Access Static method of Sorter class
		Sorter.sortAscending(NumberArray);
		//Sort array ascending
		System.out.println("Sorted Array---Ascending");
		for(int i = 0; i< NumberArray.length; i++)
        	System.out.print (NumberArray[i] + "  ");
		//Sort array descending
		Sorter.sortDescending(NumberArray);
		System.out.println("\nSorted Array---Descending");
		for(int i = 0; i< NumberArray.length; i++)
        	System.out.print (NumberArray[i] + "  ");
		
		}
}
